package com.fc.advbox.service.impl;

import com.fc.advbox.dao.EquipmentDao;
import com.fc.advbox.dao.RegionDao;
import com.fc.advbox.entity.RegionEntity;
import com.fc.advbox.service.IEquipmentService;
import com.fc.advbox.service.IRegionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * Created by E7450 on 2018/6/21.
 */
@Service("regionService")
public class RegionServiceImpl implements IRegionService {

    @Autowired
    private RegionDao regionDao;

    @Override
    public List<RegionEntity> queryList(Map<String, Object> params) {
        return regionDao.queryList(params);
    }

    @Override
    public List<RegionEntity> queryByNames(List<String> cityNames) {return regionDao.queryByNames(cityNames);}
}
